﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BGM_Project_KPI.aspx.cs" Inherits="KPIS.GERP.GBMS.APP_UI.Form.BGM_Project_KPI" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%@ Register src="../Controls/Combo/SourceCombo.ascx" tagname="Source" tagprefix="uc5" %>
<%@ Register src="../Controls/Combo/ExpenseCombo.ascx" tagname="Expense" tagprefix="uc6" %>


<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=9" />
    <title><asp:Literal runat="Server" id="litTitle"/></title>
</head>
<body>
    <form id="form1" runat="server">
        <link rel="StyleSheet" href="../../Styles/StyleSheet.css" type="text/css">
        
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>  
        
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" BackgroundPosition="None"  > 
        </telerik:RadAjaxLoadingPanel>

        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="Grid_t9">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="panelGrid_t9" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="PanelAddEdit_t9" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="btnSave_t9">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="panelGrid_t9" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="PanelAddEdit_t9" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="btnEdit_t9">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="panelGrid_t9" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="PanelAddEdit_t9" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="btnCancel_t9">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="panelGrid_t9" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="PanelAddEdit_t9" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>    

        <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
            <script type="text/javascript">

                function isNumberKey(event) 
                {
                 var charCode = (event.which) ? event.which : event.keyCode
                 if(charCode > 31 && (charCode < 48 || charCode > 57)){
                     return false;
                  }
                 return true;
                }

                function onTextChange(sender) {
                    if (sender.get_value() == "") {
                        sender.set_text("");
                    }
                } 

            </script>
        </telerik:RadCodeBlock>

    <div class="bigModuleFull900">
        <div class="bigModuleBottom900">
            <div class="defaultFont">
                <asp:Panel ID="panelHeader" runat="server" Width="830px">
                    <table cellpadding="0" cellspacing="0" class="defaultTable">
                        <tr>
                            <td align="left" valign="top" width="35%" style="padding: 5px; font-family: 'Segoe UI'; font-size: 13px; border-bottom: 3px double #959485;">
                                <ul class="treeview-list">
                                    <li class="treeview-item" style="border: none">
                                        รายการตัวชี้วัดความสำเร็จระดับโครงการ
                                    </li>
                                </ul>
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
                <asp:Panel ID="panel_Item9" runat="server" Width="830px" Height="400px" ScrollBars="Auto" HorizontalAlign="Center">
                    <table cellpadding="0" cellspacing="0" style="width: 98%; font-family: 'Segoe UI'; font-size: 13px">
                        <tr valign="top">
                            <td align="center" colspan="3" style="padding-top:15px;">
                                <asp:Label ID="lbProjectID" runat="server" Visible="false"></asp:Label>
                                <asp:Label ID="lblMonthType" runat="server" Visible="False"></asp:Label> 
                                <br />
                                <asp:Panel ID="panelGrid_t9" runat="server" CssClass="defaultFont" ScrollBars="Auto">
                                    <telerik:RadGrid GroupingSettings-CaseSensitive="false" ID="Grid_t9" runat="server" AllowFilteringByColumn="false"
                                        AllowMultiRowSelection="True" 
                                        AutoGenerateColumns="False" GridLines="None" 
                                        MasterTableView-GridLines="None" OnItemCommand="Grid_t9_ItemCommand" 
                                        onitemdatabound="Grid_t9_ItemDataBound" Width="760px" 
                                        onitemcreated="Grid_t9_ItemCreated">
                                        <mastertableview commanditemdisplay="Top" datakeynames="Sequence" grouploadmode="Client" width="100%" NoDetailRecordsText="... ไม่มีข้อมูล ...">
                                        <commanditemtemplate>
                                            <table>
                                                <tr>
                                                    <td align="right">
                                                        <asp:LinkButton ID="AddNew_t5" runat="server" CommandName="TargetInsertClick" CssClass="LinkButton"><img alt="" src="../Image/Grid/AddRecord.gif" style="border:0px;vertical-align:middle;" />&#160;&#160;เพิ่มข้อมูลใหม่ </asp:LinkButton>
                                                    </td>
                                                    <td>
                                                        <asp:LinkButton ID="Delete_t5" runat="server" CommandName="Delete" CssClass="LinkButton" OnClientClick="javascript:return confirm('ยืนยันการลบข้อมูลที่เลือก')"><img alt="" src="../Image/Grid/Delete.gif" style="border:0px;vertical-align:middle;" />&#160;&#160;ลบข้อมูล</asp:LinkButton>
                                                    </td>
                                                </tr>
                                            </table>
                                        </commanditemtemplate>
                                        <rowindicatorcolumn>
                                            <HeaderStyle Width="20px" />
                                        </rowindicatorcolumn>
                                        <expandcollapsecolumn commandname="ExpandCollapseColumn_don" visible="True"></expandcollapsecolumn>
                                        <groupbyexpressions>
                                            <telerik:GridGroupByExpression>
                                                <groupbyfields>
                                                    <telerik:GridGroupByField FieldName="bgm_kpi_type_name" HeaderText="ประเภทตัวชี้วัด" />
                                                </groupbyfields>
                                                <selectfields>
                                                    <telerik:GridGroupByField FieldName="bgm_kpi_type_name" HeaderText="ประเภทตัวชี้วัด : " HeaderValueSeparator=" " />
                                                </selectfields>
                                            </telerik:GridGroupByExpression>
                                        </groupbyexpressions>
                                        <nestedviewtemplate>
                                        <br />
                                        <telerik:RadGrid GroupingSettings-CaseSensitive="false" ID="GridIn_t9" runat="server" AllowPaging="True" 
                                            AutoGenerateColumns="False" GridLines="None"  Width="100%"><mastertableview 
                                            cellspacing="-1">
                                            <rowindicatorcolumn>
                                                <HeaderStyle Width="20px" />
                                            </rowindicatorcolumn>
                                            <expandcollapsecolumn>
                                                <HeaderStyle Width="20px" />
                                            </expandcollapsecolumn>
                                            <Columns>
                                                <telerik:GridBoundColumn DataField="bgm_prj_kpi_descr" HeaderText="คำอธิบาย" 
                                                    UniqueName="bgm_prj_kpi_descr" Visible="true">
                                                    <HeaderStyle HorizontalAlign="Center" Width="355px" />
                                                    <ItemStyle HorizontalAlign="Left" />
                                                </telerik:GridBoundColumn>
                                                <telerik:GridBoundColumn DataField="score_1" HeaderText="คะแนน 1" 
                                                    UniqueName="score_1" Visible="true">
                                                    <HeaderStyle HorizontalAlign="Center" />
                                                    <ItemStyle HorizontalAlign="right" />
                                                </telerik:GridBoundColumn>
                                                <telerik:GridBoundColumn DataField="score_2" HeaderText="คะแนน 2" 
                                                    UniqueName="score_2" Visible="true">
                                                    <HeaderStyle HorizontalAlign="Center" />
                                                    <ItemStyle HorizontalAlign="right" />
                                                </telerik:GridBoundColumn>
                                                <telerik:GridBoundColumn DataField="score_3" HeaderText="คะแนน 3" 
                                                    UniqueName="score_3" Visible="true">
                                                    <HeaderStyle HorizontalAlign="Center" />
                                                    <ItemStyle HorizontalAlign="right" />
                                                </telerik:GridBoundColumn>
                                                <telerik:GridBoundColumn DataField="score_4" HeaderText="คะแนน 4" 
                                                    UniqueName="score_4" Visible="true">
                                                    <HeaderStyle HorizontalAlign="Center" />
                                                    <ItemStyle HorizontalAlign="right" />
                                                </telerik:GridBoundColumn>
                                                <telerik:GridBoundColumn DataField="score_5" HeaderText="คะแนน 5" 
                                                    UniqueName="score_5" Visible="true">
                                                    <HeaderStyle HorizontalAlign="Center" />
                                                    <ItemStyle HorizontalAlign="right" />
                                                </telerik:GridBoundColumn>
                                            </Columns>
                                        </mastertableview>
                                    </telerik:RadGrid>
                                    <br />
                                </nestedviewtemplate>
                            <Columns>
                            <telerik:GridClientSelectColumn UniqueName="ClientSelectColumn">
                                <HeaderStyle HorizontalAlign="Center" Width="30px" />
                                <ItemStyle HorizontalAlign="Center" />
                            </telerik:GridClientSelectColumn>
                            <telerik:GridEditCommandColumn ButtonType="ImageButton" EditText="คลิกเพื่อแก้ไขข้อมูล">
                                <HeaderStyle HorizontalAlign="Center" Width="30px"/>
                                <ItemStyle Width="30px" />
                            </telerik:GridEditCommandColumn>
                            <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                                DataField="bgm_prj_kpi_name" FilterControlWidth="100%" HeaderText="ตัวชี้วัดความสำเร็จ" 
                                ShowFilterIcon="false" UniqueName="bgm_prj_kpi_name" Visible="true">
                                <HeaderStyle HorizontalAlign="Center" Width="300px"/>
                                <ItemStyle HorizontalAlign="Left" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" DataField="unit" 
                                FilterControlWidth="100%" HeaderText="หน่วยวัด" ShowFilterIcon="false" 
                                UniqueName="unit" Visible="true">
                                <HeaderStyle HorizontalAlign="Center" Width="100px" />
                                <ItemStyle HorizontalAlign="Center" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                                DataField="bgm_prj_kpi_weight" DataFormatString="{0:N0}" FilterControlWidth="100%" HeaderText="ค่าน้ำหนัก" 
                                ShowFilterIcon="false" UniqueName="bgm_prj_kpi_weight" Visible="true">
                                <HeaderStyle HorizontalAlign="Center" Width="90px" />
                                <ItemStyle HorizontalAlign="Right" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                                DataField="target_m1" FilterControlWidth="100%"
                                ShowFilterIcon="false" UniqueName="target_m1" Visible="true">
                                <HeaderStyle HorizontalAlign="Center" Width="90px" />
                                <ItemStyle HorizontalAlign="Right" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                                DataField="target_m2" FilterControlWidth="100%"
                                ShowFilterIcon="false" UniqueName="target_m2" Visible="true">
                                <HeaderStyle HorizontalAlign="Center" Width="90px" />
                                <ItemStyle HorizontalAlign="Right" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                                DataField="target_m3" FilterControlWidth="100%" 
                                ShowFilterIcon="false" UniqueName="target_m3" Visible="true">
                                <HeaderStyle HorizontalAlign="Center" Width="90px" />
                                <ItemStyle HorizontalAlign="Right" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                                DataField="target_m4" FilterControlWidth="100%"
                                ShowFilterIcon="false" UniqueName="target_m4" Visible="true">
                                <HeaderStyle HorizontalAlign="Center" Width="90px" />
                                <ItemStyle HorizontalAlign="Right" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                                DataField="target_m5" FilterControlWidth="100%"
                                ShowFilterIcon="false" UniqueName="target_m5" Visible="true">
                                <HeaderStyle HorizontalAlign="Center" Width="90px" />
                                <ItemStyle HorizontalAlign="Right" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                                DataField="target_m6" FilterControlWidth="100%"
                                ShowFilterIcon="false" UniqueName="target_m6" Visible="true">
                                <HeaderStyle HorizontalAlign="Center" Width="90px" />
                                <ItemStyle HorizontalAlign="Right" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                                DataField="target_m7" FilterControlWidth="100%"
                                ShowFilterIcon="false" UniqueName="target_m7" Visible="true">
                                <HeaderStyle HorizontalAlign="Center" Width="90px" />
                                <ItemStyle HorizontalAlign="Right" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                                DataField="target_m8" FilterControlWidth="100%"
                                ShowFilterIcon="false" UniqueName="target_m8" Visible="true">
                                <HeaderStyle HorizontalAlign="Center" Width="90px" />
                                <ItemStyle HorizontalAlign="Right" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                                DataField="target_m9" FilterControlWidth="100%"
                                ShowFilterIcon="false" UniqueName="target_m9" Visible="true">
                                <HeaderStyle HorizontalAlign="Center" Width="90px" />
                                <ItemStyle HorizontalAlign="Right" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                                DataField="target_m10" FilterControlWidth="100%"
                                ShowFilterIcon="false" UniqueName="target_m10" Visible="true">
                                <HeaderStyle HorizontalAlign="Center" Width="90px" />
                                <ItemStyle HorizontalAlign="Right" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                                DataField="target_m11" FilterControlWidth="100%"
                                ShowFilterIcon="false" UniqueName="target_m11" Visible="true">
                                <HeaderStyle HorizontalAlign="Center" Width="90px" />
                                <ItemStyle HorizontalAlign="Right" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                                DataField="target_m12" FilterControlWidth="100%"
                                ShowFilterIcon="false" UniqueName="target_m12" Visible="true">
                                <HeaderStyle HorizontalAlign="Center" Width="90px" />
                                <ItemStyle HorizontalAlign="Right" />
                            </telerik:GridBoundColumn>
                            </Columns>
                            <editformsettings editformtype="Template">
                            <editcolumn uniquename="EditCommandColumn1">
                                </editcolumn></editformsettings>
                            </mastertableview>
                            <clientsettings enablerowhoverstyle="true">
                                <Scrolling AllowScroll="true" UseStaticHeaders="true" />
                                <clientevents /><selecting allowrowselect="True" />
                            </clientsettings>
                        </telerik:RadGrid>
                        </asp:Panel>
                                <br />
                            </td>
                        </tr>
                        <tr valign="top">
                            <td colspan="3" align="center">
                                <asp:Panel ID="PanelAddEdit_t9" runat="server" Visible="False" CssClass="defaultFont">
                                    <table width="95%" style="font-family: 'Segoe UI'; font-size: 13px">
                                        <tr valign="top">
                                            <td colspan="3" align="left" valign="top" bgcolor="#7DA5E0" 
                                                style="padding: 5px; color: #FFFFFF; font-weight: bold; font-family: 'Segoe UI'; font-size: 13px;">
                                                ขั้นตอนที่ 1 : กรอกชื่อตัวชี้วัดฯ และรายละเอียดของตัวชี้วัดฯ
                                            </td>
                                        </tr>
                                        <tr valign="top">
                                            <td width="30%" align="right" style="padding-top: 5px;">
                                                <br />
                                                ชื่อตัวชี้วัดความสำเร็จ :
                                            </td>
                                            <td width="2%">
                                                <asp:Label ID="lblSeq_t9" runat="server" Visible="False"></asp:Label>
                                            </td>
                                            <td align="left" style="padding-top: 5px;">
                                                <br />
                                                <telerik:RadTextBox ID="txtName_t9" Runat="server" MaxLength="256"  Width="80%"></telerik:RadTextBox>
                                                <asp:RequiredFieldValidator ID="v1_t9" runat="server" ControlToValidate="txtName_t9" ErrorMessage="*" ValidationGroup="t8"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr valign="top">
                                            <td align="right" style="padding-top: 5px;">
                                                ประเภทตัวชี้วัดความสำเร็จ :
                                            </td>
                                            <td>
                                            </td>
                                            <td align="left" style="padding-top: 5px;">
                                                <telerik:RadComboBox 
                                                 ID="ddlKpiType_t9" runat="server" AllowCustomText="true" 
                                                 CausesValidation="false" DataTextField="text" DataValueField="value" 
                                                 EmptyMessage="... เลือกประเภทตัวชี้วัด ..." Filter="Contains" 
                                                 OnClientTextChange="onTextChange" Width="50%"></telerik:RadComboBox>
                                                 <asp:RequiredFieldValidator ID="v2_t9" runat="server" ControlToValidate="ddlKpiType_t9" ErrorMessage="*" ValidationGroup="t8"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr valign="top">
                                            <td align="right" style="padding-top: 5px;">
                                                คำอธิบาย :
                                            </td>
                                            <td>
                                            </td>
                                            <td align="left" style="padding-top: 5px;">
                                                <telerik:RadTextBox ID="txtDescr_t9" Runat="server" Height="50px" MaxLength="256"  TextMode="MultiLine" Width="80%"></telerik:RadTextBox>
                                            </td>
                                        </tr>
                                        <tr valign="top">
                                            <td align="right" style="padding-top: 5px;">
                                                หน่วยวัด :
                                            </td>
                                            <td>
                                            </td>
                                            <td align="left" style="padding-top: 5px;">
                                                <telerik:RadTextBox ID="txtUnit_t9" Runat="server" MaxLength="50"  Width="50%"></telerik:RadTextBox>
                                                <asp:RequiredFieldValidator ID="v3_t9" runat="server" ControlToValidate="txtUnit_t9" ErrorMessage="*" ValidationGroup="t8"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr valign="top">
                                            <td align="right" style="padding-top: 5px; padding-bottom: 15px;">
                                                น้ำหนัก :
                                            </td>
                                            <td>
                                            </td>
                                            <td align="left" style="padding-top: 5px; padding-bottom: 15px;">
                                                <telerik:RadNumericTextBox ID="txtWeight_t9" Runat="server" MaxLength="3"  Width="30%" MinValue="0"></telerik:RadNumericTextBox>
                                                <asp:RequiredFieldValidator ID="v4_t9" runat="server" ControlToValidate="txtWeight_t9" ErrorMessage="*" ValidationGroup="t8"> </asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr valign="top">
                                            <td colspan="3" align="left" valign="top" bgcolor="#7DA5E0" 
                                                style="padding: 5px; color: #FFFFFF; font-weight: bold; font-family: 'Segoe UI'; font-size: 13px;">
                                                ขั้นตอนที่ 2 : กรอกเป้าหมายของตัวชี้วัดความสำเร็จ
                                            </td>
                                        </tr>
                                        <tr valign="top">
                                            <td align="right" style="padding-top: 5px;">
                                                <br />
                                                ประเภทของเป้าหมาย :
                                            </td>
                                            <td>
                                            </td>
                                            <td align="left" style="padding-top: 5px;">
                                                <br />
                                                <telerik:RadComboBox ID="ddlTarket_t9" Runat="server"  Width="30%">
                                                    <Items>
                                                        <telerik:RadComboBoxItem runat="server" Text="เป้าหมายแยกรายไตรมาส" Value="1" />
                                                        <telerik:RadComboBoxItem runat="server" Text="เป้าหมายรวมรายปี" Value="0" />
                                                    </Items>
                                                </telerik:RadComboBox>
                                            </td>
                                        </tr>
                                        <tr valign="top">
                                            <td colspan="3" style="padding-top: 5px;">
                                                <font color="red">*** ระบุกรอบเป้าหมายตัวชี้วัดฯเป็น "ตัวเลข" เท่านั้น</font>
                                            </td>
                                        </tr>
                                        <tr valign="top">
                                            <td colspan="3" align="center" style="padding-top: 5px;">                                        
                                                <table width="90%" style="font-family: 'Segoe UI'; font-size: 13px">
                                                    <tr>
                                                        <td align="right" style="padding-top: 5px;">
                                                            <asp:Label ID="lblMonth1" runat="server" Text=""></asp:Label>
                                                            <telerik:RadNumericTextBox ID="txtTragetM1_t9" Runat="server" MaxLength="13"  Width="70px" MinValue="0" NumberFormat-DecimalDigits="0"></telerik:RadNumericTextBox>
                                                        </td>
                                                        <td align="right" style="padding-top: 5px;">
                                                            <asp:Label ID="lblMonth2" runat="server" Text=""></asp:Label>
                                                            <telerik:RadNumericTextBox ID="txtTragetM2_t9" Runat="server" MaxLength="13"  Width="70px" MinValue="0" NumberFormat-DecimalDigits="0"></telerik:RadNumericTextBox>
                                                        </td>
                                                        <td align="right" style="padding-top: 5px;">
                                                            <asp:Label ID="lblMonth3" runat="server" Text=""></asp:Label>
                                                            <telerik:RadNumericTextBox ID="txtTragetM3_t9" Runat="server" MaxLength="13"  Width="70px" MinValue="0" NumberFormat-DecimalDigits="0"></telerik:RadNumericTextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right" style="padding-top: 5px;">
                                                            <asp:Label ID="lblMonth4" runat="server" Text=""></asp:Label>
                                                            <telerik:RadNumericTextBox ID="txtTragetM4_t9" Runat="server" MaxLength="13"  Width="70px" MinValue="0" NumberFormat-DecimalDigits="0"></telerik:RadNumericTextBox>
                                                        </td>
                                                        <td align="right" style="padding-top: 5px;">
                                                            <asp:Label ID="lblMonth5" runat="server" Text=""></asp:Label>
                                                            <telerik:RadNumericTextBox ID="txtTragetM5_t9" Runat="server" MaxLength="13"  Width="70px" MinValue="0" NumberFormat-DecimalDigits="0"></telerik:RadNumericTextBox>
                                                        </td>
                                                        <td align="right" style="padding-top: 5px;">
                                                            <asp:Label ID="lblMonth6" runat="server" Text=""></asp:Label>
                                                            <telerik:RadNumericTextBox ID="txtTragetM6_t9" Runat="server" MaxLength="13"  Width="70px" MinValue="0" NumberFormat-DecimalDigits="0"></telerik:RadNumericTextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right" style="padding-top: 5px;">
                                                            <asp:Label ID="lblMonth7" runat="server" Text=""></asp:Label>
                                                            <telerik:RadNumericTextBox ID="txtTragetM7_t9" Runat="server" MaxLength="13"  Width="70px" MinValue="0" NumberFormat-DecimalDigits="0"></telerik:RadNumericTextBox>
                                                        </td>
                                                        <td align="right" style="padding-top: 5px;">
                                                            <asp:Label ID="lblMonth8" runat="server" Text=""></asp:Label>
                                                            <telerik:RadNumericTextBox ID="txtTragetM8_t9" Runat="server" MaxLength="13"  Width="70px" MinValue="0" NumberFormat-DecimalDigits="0"></telerik:RadNumericTextBox>
                                                        </td>
                                                        <td align="right" style="padding-top: 5px;">
                                                            <asp:Label ID="lblMonth9" runat="server" Text=""></asp:Label>
                                                            <telerik:RadNumericTextBox ID="txtTragetM9_t9" Runat="server" MaxLength="13"  Width="70px" MinValue="0" NumberFormat-DecimalDigits="0"></telerik:RadNumericTextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right" style="padding-top: 5px; padding-bottom: 15px;">
                                                            <asp:Label ID="lblMonth10" runat="server" Text=""></asp:Label>
                                                            <telerik:RadNumericTextBox ID="txtTragetM10_t9" Runat="server" MaxLength="13"  Width="70px" MinValue="0" NumberFormat-DecimalDigits="0"></telerik:RadNumericTextBox>
                                                        </td>
                                                        <td align="right" style="padding-top: 5px; padding-bottom: 15px;">
                                                            <asp:Label ID="lblMonth11" runat="server" Text=""></asp:Label>
                                                            <telerik:RadNumericTextBox ID="txtTragetM11_t9" Runat="server" MaxLength="13"  Width="70px" MinValue="0" NumberFormat-DecimalDigits="0"></telerik:RadNumericTextBox>
                                                        </td>
                                                        <td align="right" style="padding-top: 5px; padding-bottom: 15px;">
                                                            <asp:Label ID="lblMonth12" runat="server" Text=""></asp:Label>
                                                            <telerik:RadNumericTextBox ID="txtTragetM12_t9" Runat="server" MaxLength="13"  Width="70px" MinValue="0" NumberFormat-DecimalDigits="0"></telerik:RadNumericTextBox>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                        <tr valign="top">
                                            <td colspan="3" align="left" valign="top" bgcolor="#7DA5E0" 
                                                style="padding: 5px; color: #FFFFFF; font-weight: bold; font-family: 'Segoe UI'; font-size: 13px;">
                                                ขั้นตอนที่ 3 : กรอกระดับคะแนนเพื่อใช้ในการประเมินผลความสำเร็จ
                                            </td>
                                        </tr>
                                        <tr valign="top">
                                            <td align="right" style="padding-top: 5px;">
                                                <br />
                                                ระดับเป้าหมายที่ได้ 1 คะแนน :
                                            </td>
                                            <td>
                                            </td>
                                            <td align="left" style="padding-top: 5px;">
                                                <br />
                                                <telerik:RadNumericTextBox ID="txtScore1_t9" Runat="server" MaxLength="13"  width="30%" MinValue="0"></telerik:RadNumericTextBox>
                                                <asp:RequiredFieldValidator ID="v12_t9" runat="server" ControlToValidate="txtScore1_t9" ErrorMessage="*" ValidationGroup="t8"> </asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr valign="top">
                                            <td align="right" style="padding-top: 5px;">
                                                ระดับเป้าหมายที่ได้ 2 คะแนน :
                                            </td>
                                            <td>
                                            </td>
                                            <td align="left" style="padding-top: 5px;">
                                                <telerik:RadNumericTextBox ID="txtScore2_t9" Runat="server" MaxLength="13"  Width="30%" MinValue="0"></telerik:RadNumericTextBox>
                                                <asp:RequiredFieldValidator ID="v13_t9" runat="server" ControlToValidate="txtScore2_t9" ErrorMessage="*" ValidationGroup="t8"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr valign="top">
                                            <td align="right" style="padding-top: 5px;">
                                                ระดับเป้าหมายที่ได้ 3 คะแนน :
                                            </td>
                                            <td>
                                            </td>
                                            <td align="left" style="padding-top: 5px;">
                                                <telerik:RadNumericTextBox ID="txtScore3_t9" Runat="server" MaxLength="13"  Width="30%" MinValue="0"></telerik:RadNumericTextBox>
                                                <asp:RequiredFieldValidator ID="v14_t9" runat="server" ControlToValidate="txtScore3_t9" ErrorMessage="*" ValidationGroup="t8"> </asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr valign="top">
                                            <td align="right" style="padding-top: 5px;">
                                                ระดับเป้าหมายที่ได้ 4 คะแนน :
                                            </td>
                                            <td>
                                            </td>
                                            <td align="left" style="padding-top: 5px;">
                                                <telerik:RadNumericTextBox ID="txtScore4_t9" Runat="server" MaxLength="13"  Width="30%" MinValue="0"></telerik:RadNumericTextBox>
                                                <asp:RequiredFieldValidator ID="v15_t9" runat="server" ControlToValidate="txtScore4_t9" ErrorMessage="*" ValidationGroup="t8"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr valign="top">
                                            <td align="right" style="padding-top: 5px; padding-bottom: 15px;">
                                                ระดับเป้าหมายที่ได้ 5 คะแนน :
                                            </td>
                                            <td>
                                            </td>
                                            <td align="left" style="padding-top: 5px; padding-bottom: 15px;">
                                                <telerik:RadNumericTextBox ID="txtScore5_t9" Runat="server" MaxLength="13"  Width="30%" MinValue="0"></telerik:RadNumericTextBox>
                                                <asp:RequiredFieldValidator ID="v16_t9" runat="server" ControlToValidate="txtScore5_t9" ErrorMessage="*" ValidationGroup="t8"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr valign="top">
                                            <td colspan="3" align="left" valign="top" bgcolor="#7DA5E0" 
                                                style="padding: 5px; color: #FFFFFF; font-weight: bold; font-family: 'Segoe UI'; font-size: 13px;">
                                                ขั้นตอนที่ 4 : กรอกประมาณการกรอบเป้าหมายของตัวชี้วัดความสำเร็จล่วงหน้า 3 ปี
                                            </td>
                                        </tr>
                                        <tr valign="top">
                                            <td align="right" style="padding-top: 5px;">
                                                <br />
                                                ประมาณการ 1 ปีล่วงหน้า :
                                            </td>
                                            <td>
                                            </td>
                                            <td align="left" style="padding-top: 5px;">
                                                <br />
                                                <telerik:RadNumericTextBox ID="txtMTEF1_t9" Runat="server" MaxLength="13"  Width="30%" MinValue="0"></telerik:RadNumericTextBox>
                                            </td>
                                        </tr>
                                        <tr valign="top">
                                            <td align="right" style="padding-top: 5px;">
                                                ประมาณการ 2 ปีล่วงหน้า :
                                            </td>
                                            <td>
                                            </td>
                                            <td align="left" style="padding-top: 5px;">
                                                <telerik:RadNumericTextBox ID="txtMTEF2_t9" Runat="server" MaxLength="13"  Width="30%" MinValue="0"></telerik:RadNumericTextBox>
                                            </td>
                                        </tr>
                                        <tr valign="top">
                                            <td align="right" style="padding-top: 5px; padding-bottom: 15px;">
                                                ประมาณการ 3 ปีล่วงหน้า :
                                            </td>
                                            <td>
                                            </td>
                                            <td align="left" style="padding-top: 5px; padding-bottom: 15px;">
                                                <telerik:RadNumericTextBox ID="txtMTEF3_t9" Runat="server" MaxLength="13"  Width="30%" MinValue="0"></telerik:RadNumericTextBox>
                                            </td>
                                        </tr>
                                        <tr valign="top">
                                            <td colspan="3" align="left" valign="top" bgcolor="#7DA5E0" 
                                                style="padding: 5px; color: #FFFFFF; font-weight: bold; font-family: 'Segoe UI'; font-size: 13px;">
                                                ขั้นตอนที่ 5 : กดปุ่มเพื่อบันทึกการเปลี่ยนแปลงหรือยกเลิก
                                            </td>
                                        </tr>
                                        <tr valign="top">
                                            <td colspan="3" align="center" style="padding-top: 10px;">
                                                <asp:Button ID="btnSave_t9" runat="server" onclick="btnSave_t9_Click" Text="บันทึก" ValidationGroup="t8" />
                                                <asp:Button ID="btnEdit_t9" runat="server" onclick="btnEdit_t9_Click" Text="บันทึกการเปลี่ยนแปลง" ValidationGroup="t8" Visible="False" />&#160;&#160;
                                                <asp:Button ID="btnCancel_t9" runat="server" onclick="btnCancel_t9_Click" Text="ยกเลิก" />
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
